package com.ys.peony.model;

import java.io.Serializable;

/**
 * describe:站内信返回结果
 * author:czhang
 * date:2017/6/12 22:05
 */
public class MessageResponse implements Serializable {

    private static final long serialVersionUID = -2535791939237277946L;
    private String exceptionCode;
    private String state;
    private String message;
    private MessageModel data;

    public String getExceptionCode() {
        return exceptionCode;
    }

    public void setExceptionCode(String exceptionCode) {
        this.exceptionCode = exceptionCode;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public MessageModel getData() {
        return data;
    }

    public void setData(MessageModel data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "MessageResponse{" +
                "exceptionCode='" + exceptionCode + '\'' +
                ", state='" + state + '\'' +
                ", message='" + message + '\'' +
                ", data=" + data +
                '}';
    }
}
